package com.zhuimeng.Application.entity;

public class goPull {
    private int x;
    private int y;
    private int color;

    public static goPull add(int x, int y, int color){
        goPull gopull=new goPull();
        gopull.setX(x);
        gopull.setY(y);
        gopull.setColor(color);
        return gopull;
    }


    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "goBand{" +
                "x=" + x +
                ", y=" + y +
                ", color=" + color +
                '}';
    }
}
